package Test;

public class Point {
    private int x;
    private int y;

    public Point(){
        x=0;
        y=0;
    }

    public String getPoint(){
        return "("+x+","+y+")";
    }

    public void movePoint(int x,int y){
        this.setX(x);
        this.setY(y);
    }

    public void setX(int x) {
        this.x = x;
    }

    public void setY(int y) {
        this.y = y;
    }


}
